package com.aaa.service.impl;

import com.aaa.dao.AddressDao;
import com.aaa.entity.Address;
import com.aaa.entity.User;
import com.aaa.security.SuccessHandler;
import com.aaa.security.UserDetailsServiceImpl;
import com.aaa.service.AddressService;
import com.aaa.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sun.net.httpserver.Authenticator;
import org.springframework.security.core.Authentication;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class AddressServiceImpl extends ServiceImpl<AddressDao, Address> implements AddressService {
   @Resource
    AddressDao addressDao;

    public List<Address> sel(Address address) {

        return addressDao.sel(address);
    }
}
